class gmail{
public static void main(String args[]){
String[] mail ={"shwetanimbal@gmail.com",
			   "poojahuddar@yahoo.com",
			   "anitapatil@gmail.com",
			   };
for(int i=0;i<mail.length;i++){
if(mail[i].endsWith("gmail.com")){
//res[i]=mail[i];
}
System.out.println(mail[i]+" ");
}
}
}

